class Animal():
    color = "red"
    def __init__(self,na,ag):
        self.name = na
        self.age = ag

    def run(self):
        print("动物都会跑")

class Dog():
    pass

a = Animal("zs",20)
b = Animal(ag=21,na="ls")
print(b.color,a.color)
Animal.color = "blue"
print(b.color,a.color)




# print(type(a))
# print(isinstance(a, Dog))

